public class Prize {
    private final String name;
    private final String description;
    private final int total;
    private int remaining;

    public Prize(String name, String description, int total) {
        this.name = name;
        this.description = description;
        this.total = total;
        this.remaining = total;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }

    public int getRemaining() {
        return remaining;
    }

    public int getTotal() {
        return total;
    }

    public boolean award() {
        if (remaining > 0) {
            remaining--;
            return true;
        }
        return false;
    }

    public void reset() {
        remaining = total;
    }
}